<?php 
 include ('incphp/data.php');
 include ('incphp/project_get_info.php');
 include ('incphp/save_tag_title.php'); //handle input from ed02.php
 include ('incphp/upsize3.php');        //handle input from upload_form.php
 include ('incphp/save_background_condensed.php'); //handle input from incphp/choose_bg_form.php
 include ('incphp/save_marker_icon_condensed.php'); //handle input from incphp/choose_bg_form.php
 if ($project_id == NULL) { //Catch the return from incphp/upsize.php to retain the $project_id value
	 $project_id = $_GET['project_id'];
 }
include ('incphp/project_get_info.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Editor</title>
	<link rel="stylesheet" href="css/editor.css" type="text/css" />
  </head>

  <body>
    <div id="header"> <h1><?php echo $project_title; ?></h1> </div>

<div id="topnav">
<ul>
	<li><a href="ed01.php">1. Choose Project &rarr; </a>  
	<li><a href="ed02.php?project_id=<?php echo $project_id; ?>" >2. Edit Project &rarr; </a></li>
	<li class="active"><a href="ed03.php?project_id=<?php echo $project_id; ?>" >3. Add Images &rarr; </a></li>
	<li><a href="ed04.php?project_id=<?php echo $project_id; ?>" >4. Add Markers &rarr; </a></li>
	<li><a href="ed05.php?project_id=<?php echo $project_id; ?>" >5. Edit Pop-ups &rarr; </a></li>
	<li><a href="ed06.php?project_id=<?php echo $project_id; ?>" >6. Preview </a></li>
</ul>
</div>
	
	
		
			<!-- <div id="project_form"><?php include ('incphp/project_info_form.php');?></div> -->
			<div id="cont">
			<?php echo '<p>Project '.$project_tag.': '.$project_title.'</p>'; ?>
				<div id="image_form"><?php include ('incphp/choose_bg_form.php'); ?></div>
				<div id="mkr_form"><?php include ('incphp/choose_markericon_form.php'); ?><br /></div>
			</div><!-- cont -->
			<div id="upload_form"><?php include ('incphp/upload_form.php');?></div>

		
	

	<div id="footer"><p>JISC Rapid Innovation Project - Designlab - University of Central Lancashire</p></div>
	
  </body>
</html>
